//
//  STDeleteTipView.swift
//  SlowTrajectory
//
//  Created by iOS-Czz on 2023/10/23.
//

import UIKit

class STDeleteTipView: UIView {

    /*
    // Only override draw() if you perform custom drawing.
    // An empty implementation adversely affects performance during animation.
    override func draw(_ rect: CGRect) {
        // Drawing code
    }
    */
    var onSave: (() -> Void)?

    @IBAction func clickOkAction(_ sender: Any) {
        onSave?()
        self.removeFromSuperview()
    }
    @IBAction func clickCancelAction(_ sender: Any) {
        self.removeFromSuperview()
    }
}
